﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Ogdi.InteractiveSdk.Mvc.Models
{
    public class DataCatalogModel
    {


        #region Private members

        private string currentCategory;

        private SelectList containerList;

        private string categoryName;

        private List<EntitySet> entitySet;

        private List<string> categoryList;

        private string errorLine1;

        private string errorLine2;

        #endregion




        #region Properties

        public string CurrentCategory
        {
            get { return currentCategory; }
            set { currentCategory = value; }
        }

        public SelectList ContainerList
        {
            get { return containerList; }
            set { containerList = value; }
        }

        public string ErrorLine2
        {
            get { return errorLine2; }
            set { errorLine2 = value; }
        }

        public string ErrorLine1
        {
            get { return errorLine1; }
            set { errorLine1 = value; }
        }

        public List<EntitySet> EntitySet
        {
            get { return entitySet; }
            set { entitySet = value; }
        }

        public List<string> CategoryList
        {
            get { return categoryList; }
            set { categoryList = value; }
        }

        public string CategoryName
        {
            get { return categoryName; }
            set { categoryName = value; }
        }
        #endregion




        #region Constructors

        public DataCatalogModel()
        {
            this.CategoryList = new List<string>();
            this.CategoryName = string.Empty;
            this.ContainerList = new SelectList(new List<Container>());                    
            this.CurrentCategory = string.Empty;
            this.EntitySet = new List<EntitySet>();
            this.ErrorLine1 = string.Empty;
            this.ErrorLine2 = string.Empty;
        }

        #endregion



    }
}
